Search results

1000+ packages found

Check if argv has a specific flag

published version 5.0.1, 4 years ago3344 dependents licensed under $MIT
940,684,432

Process execution for humans

published version 9.6.0, 8 days ago15031 dependents licensed under $MIT
402,945,643

Human-friendly process signals

published version 8.0.1, 2 months ago1325 dependents licensed under $Apache-2.0
302,573,629

Check if the process is running inside a Docker container

published version 3.0.0, 4 years ago1427 dependents licensed under $MIT
177,912,063

Open stuff like URLs, files, executables. Cross-platform.

published version 10.1.2, a month ago10903 dependents licensed under $MIT
203,468,809

Gracefully restore the CLI cursor on exit

published version 5.1.0, 10 months ago1440 dependents licensed under $MIT
230,229,976

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

published version 3.1.0, 2 years ago2207 dependents licensed under $MIT
205,769,946

A replacement for process.exit that ensures stdio are fully drained before exiting.

published version 0.1.2, 12 years ago1275 dependents
119,473,588

process information for node.js and browsers

published version 0.11.10, 8 years ago2770 dependents licensed under $MIT
125,799,522

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.

published version 1.0.2, 7 years ago1230 dependents licensed under $MIT
101,976,375

kill trees of processes

published version 1.2.2, 5 years ago1168 dependents licensed under $MIT
74,114,648

Get stdin as a string or buffer

published version 9.0.0, 4 years ago1508 dependents licensed under $MIT
69,136,366

Cross platform children list of a PID

published version 0.6.0, 3 years ago145 dependents licensed under $MIT
58,124,837

small commonmark compliant markdown parser with positional info and concrete tokens

published version 4.0.2, 3 months ago137 dependents licensed under $MIT
51,189,038

parse, inspect, transform, and serialize content through syntax trees

published version 11.0.5, a year ago2385 dependents licensed under $MIT
56,515,573

Some useful utilities I often need

published version 0.3.0, 10 months ago103 dependents licensed under $MIT
54,333,515

Check if the process is running inside a container (Docker/Podman)

published version 1.0.0, 2 years ago236 dependents licensed under $MIT
43,526,575

Serialize/deserialize an error into a plain object

published version 12.0.0, 5 months ago1779 dependents licensed under $MIT
39,440,437

Execute a function on exit without leaking memory, allowing all objects to be garbage collected

published version 2.1.2, 2 years ago45 dependents licensed under $MIT
34,969,967

Check if the process is running as root user, for example, one started with `sudo`

published version 3.0.0, 4 years ago616 dependents licensed under $MIT
21,519,494